package com.run.go.gearbox.core.transmission;

import java.sql.ResultSet;

public class ResponseEntity {

    /* true 返回resultset false 返回 int */
    private Boolean isResult;

    private String affectedRows;

    private String lastInsertId;

    private ResultSet resultSet;

    private String statementId;


    public ResponseEntity(Boolean isResult, Integer count, ResultSet resultSet) {
        this.isResult = isResult;

        this.resultSet = resultSet;
    }

    public Boolean getResult() {
        return isResult;
    }

    public void setResult(Boolean result) {
        isResult = result;
    }

    public ResultSet getResultSet() {
        return resultSet;
    }

    public void setResultSet(ResultSet resultSet) {
        this.resultSet = resultSet;
    }

    public String getAffectedRows() {
        return affectedRows;
    }

    public void setAffectedRows(String affectedRows) {
        this.affectedRows = affectedRows;
    }

    public String getLastInsertId() {
        return lastInsertId;
    }

    public void setLastInsertId(String lastInsertId) {
        this.lastInsertId = lastInsertId;
    }

    public String getStatementId() {
        return statementId;
    }

    public void setStatementId(String statementId) {
        this.statementId = statementId;
    }
}
